package com.innsmap.wyl.custom;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Toast;
import android.widget.ZoomButton;

public class MainActivity extends AppCompatActivity {
    private ZoomButton zoomButton;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        zoomButton = (ZoomButton) findViewById(R.id.zb);
        zoomButton.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Toast.makeText(MainActivity.this,"大家好",Toast.LENGTH_SHORT).show();
            }
        });

    }
}
